package com.example.birdfriends.service;

import com.example.birdfriends.pojo.praise.Praise;
import java.util.List;

public interface PraiseService {
    public int praisePost(Praise praise);
    public List<Long> findPraisesByPid(Long pid);  // 根据pid查询所有的praiseId，当前帖子的点赞数
    public List<Long> findPraisesByPidAndUid(Long pid, Long uid);
    public int deletePraise(Long pid, Long uid);
    public List<Long> findUidsInPraisesByPid(Long pid);
    public List<Praise> findPraises();
}
